import server from '../utils/request'

const goodsDetails = async (id) => {
  const res = await server({
    url: `/api/wx/goods/detail?id=${id}`
  })
  return {
    ...res
  }
}

export default goodsDetails
